package com.ygl.api.service;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;

import java.util.Map;

/**
 * @author： ygl
 * @date： 2019/02/01
 * @Description：
 */
@RequestMapping("/demo")
public interface DemoApiService {

    @GetMapping("/demo")
    public Map<String, Object> demo();
    @GetMapping("/setKey")
    public Map<String, Object> setKey(String key,String value);
    @GetMapping("/getKey")
    public Map<String, Object> getKey(String key);
}
